<cfsetting enablecfoutputonly="true" />
<!--- @@displayname: Facade file for video player (useful if something like an iFrame is required) --->
<!--- @@author: Jeff Coughlin (jeff [at] jeffcoughlin [dot]com) --->
<!--- @@requirements: url.objectid (objectid of video object) --->

<cfimport taglib="/farcry/core/tags/webskin" prefix="skin" />
<cfimport taglib="../../tags/webskin" prefix="myskin" />

<cfparam name="url.objectid" default="" />
<cfparam name="url.bAutoPlay" default="1" type="integer" />

<cfif url.objectid eq "" or not IsValid("UUID", url.objectid)>
  <cfoutput><!-- Invalid Object ID --></cfoutput>
  <cfsetting enablecfoutputonly="false" />
  <cfexit />
</cfif>

<!---
<cfscript>
  oJcFarcryFlvFile = createObject("component", application.stcoapi.jcFarcryFlvFile.packagepath);
  stJcFarcryFlvFile = structNew();
  stJcFarcryFlvFile = oJcFarcryFlvFile.getData(objectId=url.objectid);
</cfscript>
--->

<myskin:defaultHtmlHead bLoadPluginCssFile="false" bLoadJsFile="true" />

<cfoutput>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <style type="text/css">
    body {
      text-align:center;
    }
    * {
      margin:0;
      padding:0;
    }
  </style>
</head>
<body>
</cfoutput>

  <skin:view objectid="#url.objectid#" typename="jcFarcryFlvFile" template="displayFlvPlayer" bAutoPlay="#url.bAutoPlay#" />

<cfoutput>
</body>
</html>
</cfoutput>

<cfsetting enablecfoutputonly="false" />